#include "swf.h"
#include "Shape.h"
Shape* Shape::from_file(FILE* f) {
	Shape *r = new Shape;
	//printf("shape::");
	byte tmp = getc(f);
	r->NumFillBits = ((tmp & 0xf0) >> 4);
	r->NumLineBits = (tmp & 0x0f);
	//printf("NumFillBits:%u,NumLineBits:%u\n",(uint)r->NumFillBits,(uint)r->NumLineBits);
	return r;
}

